package com.mg.mapper;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class AjaxDao implements IAjaxDao {

	@Autowired
	private SqlSession sqlSession;

	@Override
	public List<Map<String, Object>> selectList(String sqlKey,Map<String, Object> paramMap) {
		List<Map<String, Object>> comboList = sqlSession.selectList(sqlKey,paramMap);

		return comboList;
	}
}
